﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Penult.BNet.Halo3.PlayedGames
{
    public class Entity
    {
        #region Class Variables
        private int _assists;
        private int _betrayals;
        private int _deaths;
        private int _index;
        private int _kills;
        private string _name;
        private PlaceOrder _place;
        private int _score;
        private int _suicides;
        #endregion

        public virtual int Assists 
        {
            get { return _assists; }
            set { _assists = value; }
        }
        public virtual int Betrayals 
        {
            get { return _betrayals; }
            set { _betrayals = value; }
        }
        public virtual int Deaths 
        {
            get { return _deaths; }
            set { _deaths = value; }
        }
        public virtual int Index 
        {
            get { return _index; }
            set { _index = value; }
        }
        public virtual int Kills 
        {
            get { return _kills; }
            set { _kills = value; }
        }
        public virtual string Name 
        {
            get { return _name; }
            set { _name = value; }
        }
        public virtual PlaceOrder Place 
        {
            get
            {
                return (_place);
            }
            set
            {
                _place = value;
            }
        }
        public virtual int Suicides 
        {
            get { return _suicides; }
            set { _suicides = value; }
        }
        public virtual int Score 
        {
            get { return _score; }
            set { _score = value; }
        }

        public Entity()
        {
            Assists = 0;
            Betrayals = 0;
            Deaths = 0;
            Index = 0;
            Kills = 0;
            Name = string.Empty;
            Place = PlaceOrder.None;
            Suicides = 0;
            Score = 0;
        }
    }
}
